package com.example.fireassistant_server.entity;



import lombok.Data;

import javax.persistence.*;

@Table(name = "we_chat_user")
@Entity
@Data
public class WeChatUser extends AbstractEntity{

    @Column(name = "open_id",unique = true)
    private String openId;


    @OneToOne
    @JoinColumn(name = "user_id", referencedColumnName = "id")
    private User user;
}
